<template>
  <div  class="mask" v-show="isShow">
    <van-loading color="#1989fa" size="24px" vertical>加载中...</van-loading>
  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.mask{
  position: fixed;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background-color: rgba(0,0,0,.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
